﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ListInstance Title="Products"
              OnQuickLaunch="TRUE"
              TemplateType="10001"
              Url="Lists/Products"
              Description="My List Instance">
  </ListInstance>

  <Field SourceID="http://schemas.microsoft.com/sharepoint/v3"
         ID="{36819A9B-E748-47D5-9949-A65DD195BF80}"
         Name="ProductDescription"
         DisplayName="Product Description"
         Group="My Custom Columns"
         Type="Text"
         DisplaceOnUpgrade="TRUE" />

  <Field SourceID="http://schemas.microsoft.com/sharepoint/v3"
         ID="{5CD2C0C1-67AC-4F9E-BF21-463CFEE9B382}"
         Name="ProductID"
         DisplayName="Product ID"
         Group="My Custom Columns"
         Type="Number"
         DisplaceOnUpgrade="TRUE" />

  <!-- Parent ContentType: Item (0x01) -->
  <ContentType ID="0x010010ad30a2bcf0495aa544a5f23584bcce"
               Name="ListsAndSchemas - Product"
               Group="My Custom Content Types"
               Description="My Content Type"
               Inherits="TRUE"
               Version="0">
    <FieldRefs>
      <!--Extra Field start-->
      <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
                Name="Title"
                DisplayName="Product Name" />
      <FieldRef ID="{36819A9B-E748-47D5-9949-A65DD195BF80}"
                Name="ProductDescription" />
      <FieldRef ID="{5CD2C0C1-67AC-4F9E-BF21-463CFEE9B382}"
                Name="ProductID" />
      <!--Extra Field end-->
    </FieldRefs>
  </ContentType>
</Elements>
